package ru.stepuk.modern;

/**
 *
 * @author ivan
 */
public enum TimeUnit {

    SECOND,
    MINUTE,
    HOUR;

    @Override
    public String toString() {
        switch (this) {
            case SECOND:
                return "сек";
            case MINUTE:
                return "мин";
            case HOUR:
                return "час";
            default:
                return "";
        }
    }
}
